import random
house_list = [
    [],[],[]
]#定义三个空列表

teas = ["大骂","小马","赵","李","王","张","大","小"]

for tea in teas: 
    
    #老师遍历三个办公室
    #随机选取一个
    house_ID = random.randint(0,2)
    #当前tea放进去
    house_list[house_ID].append(tea)
print(house_list)